package com.lsy.seckill.service;

import com.lsy.seckill.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lsy.seckill.vo.LoginVo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* @author 19040
* @description 针对表【seckill_user】的数据库操作Service
* @createDate 2024-09-13 15:04:44
*/
public interface UserService extends IService<User> {
    //根据Cookie-ticket 获取用户
    User getUserByCookie(String userTicket,
                         HttpServletRequest request,
                         HttpServletResponse response);

    Boolean checkLogin(LoginVo loginVo, HttpServletRequest request, HttpServletResponse response);
}
